import { createApp } from 'vue';
import App from './App.vue';
import './assets/style.css';
import routes from '@/router/index';
import store from '@/store/index';
import './public-path';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import microApp from '@micro-zoe/micro-app'

microApp.start();
const app = createApp(App);
app.use(routes);
app.use(store);
app.use(ElementPlus);
app.mount('#goodsapp');

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}